import Vue from 'vue'
// 按需导入
import {
  NavBar,
  Form,
  Field,
  Button,
  Toast,
  Tabbar,
  TabbarItem,
  Image as VanImage,
  Tag,
  Col,
  Row,
  Icon,
  Cell,
  CellGroup,
  Dialog,
  Tab,
  Tabs,
  List,
  Grid,
  GridItem,
  PullRefresh,
  Lazyload,
  Popup,
  ActionSheet
} from 'vant'
// 导航栏
Vue.use(NavBar)
Vue.use(ActionSheet)
Vue.use(Popup)
Vue.use(Lazyload)
Vue.use(PullRefresh)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(List)
Vue.use(Form)
Vue.use(Field)
Vue.use(Button)
Vue.use(Toast)
Vue.use(Tabbar)
Vue.use(TabbarItem)
// Image 图片
Vue.use(VanImage)
// Tag 标签
Vue.use(Tag)
// Layout 布局
Vue.use(Col)
Vue.use(Row)
// Icon 图标
Vue.use(Icon)
// Cell 单元格
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Tab)
Vue.use(Tabs)
Dialog({ message: '提示' })
